package cn.edu.scau.cmi.dengzejun.chapter08;

public class BankException extends Exception{
	String message;
	public BankException(int m,int n) {
		message="income money "+m+" is negative number or output "+n+" is positive number,not be allowed in this.";
		return;
	}
	
	public String warnMess() {
		return message;
	}
}
